﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IPagedList<JLL.China.Infrastructure.Repositories.LINQ2SQL.Form>>" %>
<%@ Import Namespace="JLL.China.Infrastructure.Services" %>
<input type="hidden" name="redirect" value="admins/index" />
<table border="0" width="100%" cellpadding="0" cellspacing="0" id="product-table">
    <tr>
        <%--  <th class="table-header-check">
                    <a id="toggle-all"></a>
                </th>--%>
        <th class="table-header-repeat line-left minwidth-1">
            <a href="">Form ID</a>
        </th>
        <th class="table-header-repeat line-left minwidth-1">
            <a href="">Form Name</a>
        </th>
        <th class="table-header-repeat line-left minwidth-1">
            <a href="">Description</a>
        </th>
        <th class="table-header-options line-left">
            <a href="">Email</a>
        </th>
        <th class="table-header-options line-left">
            <a href="">Options</a>
        </th>
    </tr>
    <% foreach (var group in Model)
               { 
    %>
    <tr>
        <%-- <td align="center">
                    <input name="selected" id="selected" type="checkbox" value="<%=group.MemberGroup_ID %>" />
                </td>--%>
        <td>
            <%= group.Form_ID %>
        </td>
        <td>
            <%=group.FormName %>
        </td>
        <td>
            <%= group.Description %>
        </td>
        <td>
            <%=group.AdminAddress %>
        </td>
        <td class="options-width">
            <div>
                <%--    <%= Html.ActionLink(" ", "EditMemberGroup", new { id = group.MemberGroup_ID }, new { @title = "View / Edit", @class = "icon-1 info-tooltip" })%>--%>
                <%--<%= Html.ActionLink(" ", "DeleteMemberGroup", new { id = group.MemberGroup_ID }, new { @title = "Delete", @class = "icon-2 info-tooltip remove-btn-member-group" })%>--%>
                <a href="<%=Url.Content("~/")%><%=ViewData["now_controller"]%>Edit/<%=group.Form_ID%>"
                    title="View / Edit" class="info-tooltip">
                    <img id="detail-icon-img" src="<%=Url.Content("~/Content/images/")%>File_edit.png"
                        style="width: 25px; margin-left: 4px;" />
                </a>
            </div>
        </td>
    </tr>
    <%} %>
</table>
<!--  end product-table................................... -->
<!--  start actions-box ............................................... -->
<%--<div id="actions-box">
             <a href="" class="iconaction icon-cog"> </a>
            <a href="" class="action-slider"></a>
            <div id="actions-box-slider">
                 <a class="iconaction icon-trash "> </a>
                 <%= Html.ActionLink("Delete", "BulkProcess", new { status = "remove" }, new { @title = "Delete selected", @class = "action-edit  action-invoke-removed  info-tooltip " })%>
            </div>
            <div class="clear">
            </div>
        </div>--%>
<!-- end actions-box........... -->
<!--Start sub form-->

<!--end sub form-->
<!--  start paging..................................................... -->
<table border="0" cellpadding="0" cellspacing="0" id="paging-table">
    <tr>
        <td class="page-cell">
            <div class="pager">
                <%Html.RenderPartial("PerPage", ViewData);%>
                <%= Html.Pager(ViewData.Model.PageSize, ViewData.Model.PageNumber, ViewData.Model.TotalItemCount) %>
            </div>
        </td>
        <td>
        </td>
        <td>
        </td>
    </tr>
    <tr>
        <td>
        </td>
    </tr>
</table>
<!--  end paging................ -->
<div class="clear">
</div>
